editablelabel: Properly clean up in dispose
authorMatthias Clasen <mclasen@redhat.com>
Fri, 23 Oct 2020 16:27:55 +0000 (12:27 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 23 Oct 2020 16:27:55 +0000 (12:27 -0400)
commitcb8bf6540ce5541aa236b7ab2f4158cf55d7fae9
treefecf15b0f4eee0682e589a5c20a6f51e7c507518
parentfdb1fa4d089359951c34212008e876bd91e6c0bc
editablelabel: Properly clean up in dispose

Unparenting the stack finalizes the entry and label,
but at least the label is available via the
gtk_editable_get_delegate API, and the a11y
implementation uses that at dispose time. So, clear
the pointers to prevent them from being dangling.

This was showing up as a segfault of the doc-shooter.
gtk/gtkeditablelabel.c